/* 页面容器 */
.add-traveler-page {
    width: 900px;
    margin: 20px auto;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* 页面头部 */
.page-header {
    padding: 16px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.page-header h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

/* 页面内容区域 */
.page-body {
    padding: 24px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: inline-block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    width: 100px;
}

.form-input {
    width: 400px;
    height: 32px;
    padding: 4px 11px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
}

.form-input.error {
    border-color: #ff4d4f;
}

.error-message {
    color: #ff4d4f;
    font-size: 12px;
    margin-top: 5px;
    margin-left: 100px;
    display: none;
}

/* 英文名输入框组 */
.eng-name-inputs {
    display: flex;
    gap: 10px;
    width: 400px;
}

.eng-name-inputs .form-input {
    width: 195px;
}

/* 单选框组 */
.radio-group {
    display: flex;
    gap: 20px;
    margin-left: 100px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    margin-right: 5px;
}

/* 日期选择 */
.date-select {
    display: flex;
    gap: 10px;
    width: 400px;
}

.date-select select {
    width: calc(33.33% - 7px);
    height: 32px;
    padding: 4px 11px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
}

/* 提示文本 */
.notice {
    color: #ff4d4f;
    font-size: 14px;
    margin-bottom: 20px;
}

.input-tip {
    display: block;
    margin-left: 100px;
    margin-top: 5px;
    color: #999;
    font-size: 12px;
}

/* 复选框组 */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 15px 30px;
    margin-top: 10px;
    margin-left: 100px;
    width: 600px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    white-space: nowrap;
    margin-bottom: 10px;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 5px;
}

/* 证件号码输入区域 */
.id-number-form {
    margin-top: 10px;
    padding: 15px;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    margin-bottom: 15px;
    margin-left: 100px;
    width: calc(100% - 140px);
}

/* 护照有效期样式 */
.passport-expiry {
    margin-top: 15px;
}

.passport-expiry label {
    display: inline-block;
    width: 100px;
}

.expiry-date-select {
    display: inline-flex;
    gap: 10px;
    width: 400px;
    margin-right: 20px;
}

.expiry-date-select select {
    width: calc(33.33% - 7px);
    height: 32px;
    padding: 4px 11px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
}

.lifetime-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin-left: 20px;
}

/* 页面底部 */
.page-footer {
    padding: 20px 40px;
    border-top: 1px solid #f0f0f0;
    text-align: right;
}

.save-btn, .cancel-btn {
    min-width: 100px;
    height: 32px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    margin-left: 10px;
}

.save-btn {
    background: #ff4d4f;
    color: #fff;
    border: none;
}

.cancel-btn {
    background: #fff;
    color: #333;
    border: 1px solid #d9d9d9;
}

.save-btn:hover {
    background: #ff6b6b;
}

.cancel-btn:hover {
    border-color: #40a9ff;
    color: #40a9ff;
}